const MusicHttp = require("../../models/MusicHttp")
Page({

    /**
     * 页面的初始数据
     */
    data: {

    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: async function (options) {
        var hotRes = await MusicHttp.getHotSong();
        console.log(hotRes)
        var newRes =  await MusicHttp.getNewMusic();
        console.log(newRes)
        var djRes = await MusicHttp.getDj()
        console.log(djRes)
        var banner= await MusicHttp.getBanner();
        console.log(banner)
    }
})